package com.mo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.Map;

@Component
public class ProvideFeignClientCallBack implements ProvideFeignClient{


    public Map<String,String> getProvide(){
        Map map= new HashMap();
        map.put("hytricx","feign调用触发熔断降级方法");
        return map;
    }



}
